#ifndef USER_H
#define USER_H

#include <QString>
#include <QVector>

#define ATTR_COUNT 5

class User
{
public:
    void set_user(QVector<QString>* values);
    int get_id();
    QString get_name();
    QString get_passwd();
    QString get_create_time();
    int get_authority();

    int attr_count();

private:
    int id;
    QString name;
    QString passwd;
    QString create_time;
    int authority;

};

#endif // USER_H
